package com.casic.ops.entity.request;

import com.casic.ops.consts.Const;
import com.orion.lang.wrapper.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @ClassName ops-platform
 * @Description  应用流水线请求
 * @Author mianbin
 * @Date 2022/5/31 10:59
 * @Version 1.0
 **/
@Data
@EqualsAndHashCode(callSuper = true)
public class ApplicationPipelineRequest extends PageRequest {

    /**
     * id
     */
    private Long id;

    /**
     * idList
     */
    private List<Long> idList;

    /**
     * 环境id
     */
    private List<Long> profileIdList;

    /**
     * 环境id
     */
    private Long profileId;

    /**
     * 流水线名称
     */
    private String name;

    /**
     * 描述
     */
    private String description;

    /**
     * 是否查询详情
     *
     * @see Const#ENABLE
     */
    private Integer queryDetail;

    /**
     * 详情
     */
    private List<ApplicationPipelineDetailRequest> details;

}
